<style type="text/css">
    body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {
        border: 0 none;
        font: inherit;
        margin: 0;
        padding: 0;
        vertical-align: baseline;
    }

    thead th {
        background: none repeat scroll 0 0 #C3D9FF;
    }

    th, td, caption {
        padding: 4px 10px 4px 5px;
    }

    th {
        font-weight: bold;
    }

    table, th, td {
        vertical-align: middle;
    }

    caption, th, td {
        float: none !important;
        font-weight: normal;
        text-align: left;
    }

    tbody tr:nth-child(2n) td, tbody tr.even td {
        background: none repeat scroll 0 0 #E5ECF9;
    }


</style>

<%=
    case @user.title
        when "Herr"
            "#{t("order.letter.salutation.mr")}"
        when "Frau"
            "#{t("order.letter.salutation.ms")}"
        when "Firma"
            "#{t("order.letter.salutation.company")}"
    end
%>
<%= " #{@user.lastname}" %><br /><br/>
<%= "#{t("order.letter.text", :datum => l(@cart.updated_at.to_s[0..9].to_date))}" %>
<br /><br /><br />
<%= render 'carts/ordered_items' %>